package com.yaml;

import java.util.List;

public class Person {

	private String name;
	private int age;
	private String sex;
	private List<Person> childern;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public List<Person> getChildern() {
		return childern;
	}
	public void setChildern(List<Person> childern) {
		this.childern = childern;
	}
	
}
